package net.tycmc.cty.ctyms.timejob.iems.job;

import net.tycmc.cty.ctyms.timejob.iems.dao.LoadBurTodayDAO;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

/**
 * 今日载重统计
 * @author chengshichao
 * 创建时间：2013-5-2
 */
public class LoadBurTodayJob extends QuartzJobBean{
	
	private LoadBurTodayDAO loadBurTodayDAO;

	/**
	 * @return the loadBurTodayDAO
	 */
	public LoadBurTodayDAO getLoadBurTodayDAO() {
		return loadBurTodayDAO;
	}



	/**
	 * @param loadBurTodayDAO the loadBurTodayDAO to set
	 */
	public void setLoadBurTodayDAO(LoadBurTodayDAO loadBurTodayDAO) {
		this.loadBurTodayDAO = loadBurTodayDAO;
	}



	@Override
	protected void executeInternal(JobExecutionContext arg0)
			throws JobExecutionException {
		//载重相关信息统计开始
		loadBurTodayDAO.startStat();
	}
}
